#ifndef __CRC_H
#define __CRC_H

#include "stm32g4xx.h"
#include <stdlib.h>

unsigned int Verify_CRC8_Check_Sum(unsigned char *pchMessage, unsigned int dwLength);
uint32_t Verify_CRC16_Check_Sum(uint8_t *pchMessage, uint32_t dwLength);
void Append_CRC8_Check_Sum(unsigned char *pchMessage, unsigned int dwLength);
void Append_CRC16_Check_Sum(uint8_t *pchMessage,uint32_t dwLength);

#endif
